/**
 * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *     http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 **/

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.admin-title {
  color: #333;
  font-size: 28px;
}

.admin-navigation {
  display: flex;
  gap: 15px;
}

.admin-nav-link {
  background-color: #4a89dc;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.admin-nav-link:hover {
  background-color: #357bd8;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.admin-table th {
  background-color: #4a89dc;
  color: white;
  text-align: left;
  padding: 15px;
}

.admin-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table tr:hover {
  background-color: #f8f9fa;
}

.product-image-small {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

.user-role-admin {
  color: #e74c3c;
  font-weight: bold;
}

.user-role-user {
  color: #27ae60;
  font-weight: bold;
}

.add-new-button {
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background-color 0.3s;
}

.add-new-button:hover {
  background-color: #219653;
}

.no-data-message {
  text-align: center;
  padding: 30px;
  font-size: 18px;
  color: #777;
}